#{extends 'main.html' /}
#{set title:'MyNewEv' /}

#{if user}
<div id='cssmenu'>
<ul>
   <li><a href='/home'><span>Home</span></a></li>
   <li><a href='/category'><span>Create event</span></a></li>
   <li><a href='/myevents'><span>My events</span></a></li>
   <li><a href='/registeredevents'><span>Registered events</span></a></li>
</ul>
</div>
#{/if}
		<br/>
		<center>
		<nav-header>
			<a href="/trips"> Trips </a>
			<a href="/sports"> Sport </a>
			<a href="/culture"> Culture </a>
			<a class='active' href="/entertainment"> Entertainment </a>
			<a href="/night_life"> Night life </a>
			<a href="/learning"> Learning </a>
		</nav-header>
		</center>
		<div class="container">
			<!--<div id="adds">adds
			</div>-->


<center>
<table class="categories">
	<tr>
    	<td>
        	<a href="@{SearchEngine.searchresult("Cinema")}">
          		<div class="eventsearch">
          			<div class="cinema">
            			<h4>Cinema</h4>
            			<div class="photo"></div>
            		</div>         
          		</div>
          </a>
       	</td>
       	<td>
           	<a href="@{SearchEngine.searchresult("Dancing")}">
           		<div class="eventsearch">
           			<div class="dancing">
             			<h4>Dancing</h4>
            			<div class="photo"></div>
            		</div>        
           		</div>        
          	</a> 
       </td>
       <td>
           	<a href="@{SearchEngine.searchresult("Shows")}">
           		<div class="eventsearch">
           			<div class="shows">
             			<h4>Shows</h4>
             			<div class="photo"></div>
            		</div>
           		</div>        
          	</a> 
		</td>
   	</tr>
</table>
</center>

</div>